<div id="sidebar" class="sidebar                  responsive                    ace-save-state">
    <script type="text/javascript">
        try {
            ace.settings.loadState('sidebar')
        } catch (e) {
        }
    </script>

    <div class="sidebar-shortcuts" id="sidebar-shortcuts">
        <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
            <button class="btn btn-success">
                <i class="ace-icon fa fa-signal"></i>
            </button>

            <button class="btn btn-info">
                <i class="ace-icon fa fa-pencil"></i>
            </button>

            <button class="btn btn-warning">
                <i class="ace-icon fa fa-users"></i>
            </button>

            <button class="btn btn-danger">
                <i class="ace-icon fa fa-cogs"></i>
            </button>
        </div>

        <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
            <span class="btn btn-success"></span>

            <span class="btn btn-info"></span>

            <span class="btn btn-warning"></span>

            <span class="btn btn-danger"></span>
        </div>
    </div><!-- /.sidebar-shortcuts -->

    <ul class="nav nav-list">
        <li class="">
            <a href="{{ path('logapi_index') }}">
                <i class="menu-icon fa fa-tachometer"></i>
                <span class="menu-text"> Dashboard </span>
            </a>

            <b class="arrow"></b>
        </li>
        <!-- 用户认证 -->
        <li class="active open">
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								用户认证
								<span class="badge badge-primary">3</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="active open">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-caret-right"></i>

                        角色
                        <b class="arrow fa fa-angle-down"></b>
                    </a>

                    <b class="arrow"></b>
                    <ul class="submenu">
                        <li class="">
                            <a href="{{ path('authrole_new') }}">
                                <i class="menu-icon fa fa-plus purple"></i>
                                新建
                            </a>

                            <b class="arrow"></b>
                        </li>

                        <li class="">
                            <a href="{{ path('authrole_index') }}">
                                <i class="menu-icon fa fa-eye pink"></i>
                                列表
                            </a>

                            <b class="arrow"></b>
                        </li>
                    </ul>
                </li>
                <li class="">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-caret-right"></i>

                        组
                        <b class="arrow fa fa-angle-down"></b>
                    </a>
                    <b class="arrow"></b>
                    <ul class="submenu">
                        <li class="">
                            <a href="{{ path('authgroup_new') }}">
                                <i class="menu-icon fa fa-plus purple"></i>
                                新建
                            </a>

                            <b class="arrow"></b>
                        </li>
                        <li class="">
                            <a href="{{ path('authgroup_index') }}">
                                <i class="menu-icon fa fa-eye pink"></i>
                                列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="">
                    <a href="#" class="dropdown-toggle">
                        <i class="menu-icon fa fa-caret-right"></i>

                        用户
                        <b class="arrow fa fa-angle-down"></b>
                    </a>
                    <b class="arrow"></b>
                    <ul class="submenu">
                        <li class="">
                            <a href="{{ path('authuser_new') }}">
                                <i class="menu-icon fa fa-plus purple"></i>
                                新建
                            </a>

                            <b class="arrow"></b>
                        </li>
                        <li class="">
                            <a href="{{ path('authuser_index') }}">
                                <i class="menu-icon fa fa-eye pink"></i>
                                列表
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </li>
        <!-- 全局参数 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								全局参数
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('baseglobalparam_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('baseglobalparam_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>
        <!-- 数据源 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								数据源
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('basedatasource_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('basedatasource_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>
        <!-- 注册卡商 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								注册卡商
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('baseregisteapi_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('baseregisteapi_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>
        <!-- 终端组 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								终端组
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('basegroup_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('basegroup_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>
        <!-- 终端 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								终端
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('basedevice_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('basedevice_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>
        <!-- 微信 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								微信
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('basewebchatuser_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('basewebchatuser_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>
        <!-- 模版 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								模版
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('tasktemplate_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('tasktemplate_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>

        <!-- 任务 -->
        <li>
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								任务
								<span class="badge badge-primary">2</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('taskqueuewaiting_new') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        新建
                    </a>

                    <b class="arrow"></b>
                </li>

                <li class="">
                    <a href="{{ path('taskqueuewaiting_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>

        <!-- 代理 -->
        <li class="">
            <a href="#" class="dropdown-toggle">
                <i class="menu-icon fa fa-file-o"></i>

							<span class="menu-text">
								代理
								<span class="badge badge-primary">1</span>
							</span>

                <b class="arrow fa fa-angle-down"></b>
            </a>

            <b class="arrow"></b>

            <!-- 子菜单 -->
            <ul class="submenu">
                <li class="">
                    <a href="{{ path('taskjobs_index') }}">
                        <i class="menu-icon fa fa-caret-right"></i>
                        列表
                    </a>

                    <b class="arrow"></b>
                </li>
            </ul>
        </li>

    </ul><!-- /.nav-list -->

    <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
        <i id="sidebar-toggle-icon" class="ace-icon fa fa-angle-double-left ace-save-state"
           data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
    </div>
</div>
